using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Toolbox
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_MouseEnter(object sender, EventArgs e)
        {
            Button button = (Button)sender;
            button.FlatAppearance.BorderColor = Color.FromArgb(49, 106, 197);
        }

        private void button1_MouseLeave(object sender, EventArgs e)
        {
            Button button = (Button)sender;
            button.FlatAppearance.BorderColor = Color.FromKnownColor(KnownColor.Control);
        }

        private void checkBox1_MouseEnter(object sender, EventArgs e)
        {
            CheckBox checkBox = (CheckBox)sender;
            checkBox.FlatAppearance.BorderColor = Color.FromArgb(49, 106, 197);
        }

        private void checkBox1_MouseLeave(object sender, EventArgs e)
        {
            CheckBox checkBox = (CheckBox)sender;
            checkBox.FlatAppearance.BorderColor = Color.FromKnownColor(KnownColor.Control);
        }

        private void button4_MouseDown(object sender, MouseEventArgs e)
        {
            Button button = (Button)sender;
            button.Parent.Focus();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void button5_Click(object sender, EventArgs e)
        {

        }

        private void button3_Click(object sender, EventArgs e)
        {

        }
    }
}